package com.gaofans.nrpc.example.dict;


import java.io.Serializable;

/**
 * <p>
 * 字典表
 * </p>
 *
 * @author stylefeng
 * @since 2017-07-11
 */
public class Dict implements Serializable {

    /**
     * 主键id
     */
    private String id;
    /**
     * 排序
     */
    private Integer num;
    /**
     * 父级字典
     */
    private String pid;
    /**
     * 名称
     */
    private String name;

    /**
     * 编码
     */
    private String code;
    /**
     * 提示
     */
    private String note;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    @Override
    public String toString() {
        return "Dict{" +
                "id='" + id + '\'' +
                ", num=" + num +
                ", pid='" + pid + '\'' +
                ", name='" + name + '\'' +
                ", code='" + code + '\'' +
                ", note='" + note + '\'' +
                '}';
    }
}
